<?php

namespace app\api\controller\User;

use app\services\ShareHoldingService;
use support\Request;

class ShareHoldingController
{
    public function list(Request $request)
    {
        try {
            $data = ShareHoldingService::get();

            return ok_rsp('成功', $data);
        } catch (\Exception $e) {

            return err_rsp($e->getMessage());
        }
    }
}